#include "..\..\NahidaProject-UnitTest\Sources\NahidaUnitTest.h"

#include "..\Sources\RegisterTable.h"


TESTCASE(RegisterTableTest) {
	NahidaProject::RegisterTable reg("Software\\ExampleCache");
	reg.SetValue("Key1", "Value1");
	reg.SetValue("Key2", "Value2");
	JUDGE_EQUAL(reg.GetValue("Key1"), "Value1");
	JUDGE_EQUAL(reg.GetValue("Key2"), "Value2");
}


TESTCASE(SpecialInformation) {
	std::cout << "These module must run in special project templates. Please compile them in another project." << std::endl;
}

int main() {
	NahidaProject::NahidaUnitTest::RunAllTests();
	return 0;
}